<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />
		<title>bug 386476</title>
	</head>
	<body onload="setTimeout(function(){document.querySelector('textarea').setAttribute('dir','rtl')},0)">
<textarea rows="8" cols="50" dir="ltr">text inside a textarea gone wild
second line
[url=http://bugzilla.mozilla.org/]טקסט[/url], [url=http://bugzilla.mozilla.org/]url[טקסט], [url=http://bugzilla.mozilla.org/]טקסט[/url].</textarea>
	</body>
</html>
